﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace middleware.dominio
{
    [Table("Logs")]
    public class Log
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int LogId { get; set; }        
        public DateTime fecha { get; set; }

        [ForeignKey("usuario")]
        public string usuarioId { get; set; }
        public Usuario usuario { get; set; }

        public string linea { get; set; }
    }
}
